Skip to content

C++: Improve MemberFunction.qll data flows#4642

Merged
MathiasVP merged 2 commits into
github:mainfrom
geoffw0:memberfn
Nov 10, 2020
Merged

C++: Improve MemberFunction.qll data flows#4642
MathiasVP merged 2 commits into
github:mainfrom
geoffw0:memberfn

Conversation

@geoffw0

@geoffw0 geoffw0 commented Nov 10, 2020

Copy link
Copy Markdown
Contributor

Make the change suggested in #4432 (comment).

It turns out we didn't support the necessary data flow - from a deref parameter to the return value - so I've added that as well.

Comment thread cpp/ql/test/library-tests/dataflow/taint-tests/localTaint.expected

@MathiasVP MathiasVP left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@MathiasVP MathiasVP merged commit 618d9c3 into github:main Nov 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants